package com.fling.tutorial;

import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.NinePatch;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.fling.Constants;
import com.fling.observer.Subject;

public abstract class TutorialState implements Constants{

	protected TutorialManager tutorial;
	protected Subject subject;
	protected float timer;
	protected float transitionTimer;
	protected boolean transition;
	
	public static float TRANSITION_TIME=0.5f;
	
	public TutorialState(TutorialManager t, Subject sub) {
		tutorial=t;
		subject=sub;
		timer=0;
		enter();
	}

	public abstract void update(float delta);
	public abstract void render(SpriteBatch sb, NinePatch patch, BitmapFont font);

	public abstract void registerInput(INPUT input);

	public abstract void enter();

	public abstract void exit();
}
